package com.xiaozhengkeji.xiaozhengblog.base.entitys;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * article_discuss_entity
 */
@ApiModel(value = "article_discuss_entity")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ArticleDiscussEntity implements Serializable {
    /**
     * 索引
     */
    @ApiModelProperty(value = "索引")
    private Integer id;

    /**
     * 文章ID
     */
    @ApiModelProperty(value = "文章ID")
    private Integer aid;

    /**
     * 父评论ID
     */
    @ApiModelProperty(value = "父评论ID")
    private Integer superiorId;

    /**
     * 评论用户 tourist 为游客 不进行User表查询
     */
    @ApiModelProperty(value = "评论用户 tourist 为游客 不进行User表查询")
    private String commentUser;

    /**
     * 评论内容
     */
    @ApiModelProperty(value = "评论内容")
    private String content;

    /**
     * 评论时间
     */
    @ApiModelProperty(value = "评论时间")
    private LocalDateTime creationTime;

    /**
     * 评论点赞
     */
    @ApiModelProperty(value = "评论点赞")
    private Integer likes;

    private static final long serialVersionUID = 1L;
}